-
Notifications
You must be signed in to change notification settings - Fork 8
200 so3 boot is blocking on rpi4 64bits #205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok for me, there is just some clang-format issue to fix
so3/arch/arm64/mmu.c
Outdated
__sys_idmap_l1pgtable[l1pte_index(CONFIG_UART_LL_PADDR)] = CONFIG_UART_LL_PADDR & TTB_L1_BLOCK_ADDR_MASK; | ||
set_pte_block(&__sys_idmap_l1pgtable[l1pte_index(CONFIG_UART_LL_PADDR)], DCACHE_OFF); | ||
__sys_idmap_l1pgtable[l1pte_index(CONFIG_UART_LL_PADDR)] = CONFIG_UART_LL_PADDR & TTB_L1_BLOCK_ADDR_MASK; | ||
set_pte_block(&__sys_idmap_l1pgtable[l1pte_index(CONFIG_UART_LL_PADDR)], DCACHE_OFF); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think clang-format isn't liking that change, as it is whitespace only, easy fix would be to revert.
That function indentation is a bit weird because of the #ifdef CONFIG_AVZ
which can add or not one level of indentation. So another possible fix would be to correct indentation for the function and add /* clang-format off */
and /* clang-format on */
arround of the function, so clang-format doesn't complain about it.
so3/mm/memory.c
Outdated
#ifndef CONFIG_AVZ | ||
__fdt_addr = (void *) __va(fdt_paddr); | ||
#endif | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also remove this line for clang-format. (no empty line at the end of a function)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@clemdiep Fine, I disabled clang-format in mmu.c
Here is the correct PR